package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.dto.ScmProduceReturnParam;
import com.xinsoft.entity.po.ScmProduceReturn;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinsoft.entity.vo.ScmProduceReturnPageVo;
import com.xinsoft.entity.vo.ScmProduceReturnVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_produce_return(生产退料)】的数据库操作Mapper
* @createDate 2023-08-14 11:30:38
* @Entity com.xinsoft.entity.po.ScmProduceReturn
*/
public interface ScmProduceReturnMapper extends BaseMapper<ScmProduceReturn> {

    IPage<ScmProduceReturnPageVo> findListByParam(Page<ScmProduceReturnPageVo> page,@Param("param") ScmProduceReturnParam param);
    List<ScmProduceReturnPageVo> findListByParam(@Param("param") ScmProduceReturnParam param);

    ScmProduceReturnVo getById(Integer id);
}




